projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefc65b
)
net/mwan3: mwan3track interrupt sleep on signal (trap) event
author
Florian Eckert
<
[email protected]
>
Thu, 6 Apr 2017 14:36:46 +0000
(16:36 +0200)
committer
Florian Eckert
<
[email protected]
>
Thu, 17 Aug 2017 09:31:23 +0000
(11:31 +0200)
Sleep will be aborted if a signal is send to this process.
Signed-off-by: Florian Eckert <
[email protected]
>
(cherry picked from commit
7e80e83dfdbfd1408244399ef6af580fff218d4f
)
net/mwan3/files/usr/sbin/mwan3track
patch
|
blob
|
history
diff --git
a/net/mwan3/files/usr/sbin/mwan3track
b/net/mwan3/files/usr/sbin/mwan3track
index 35f97fe0d50f0124497f63640d6ccc903f3a0202..326d8ab52c79eb8d349ec14dc40bdfba118ebeff 100755
(executable)
--- a/
net/mwan3/files/usr/sbin/mwan3track
+++ b/
net/mwan3/files/usr/sbin/mwan3track
@@
-59,7
+59,8
@@
while true; do
fi
host_up_count=0
- sleep $6
+ sleep $6 &
+ wait
done
exit 1